/**
 * Copyright (c) 2012, Camelot and/or its affiliates. All rights reserved.
 * Camelot PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.camelot.ccr.system.dao;

import java.io.IOException;
import java.util.List;

import org.springframework.web.multipart.commons.CommonsMultipartFile;

import com.camelot.ccr.global.dao.GenericDaO;
import com.camelot.ccr.system.persistence.Team;

/**
 * <pre>
 * <车队>
 * </pre>
 * @author Liu Jun
 * @version V0.1, 2014-5-20 下午10:28:23
 */
public interface TeamDao extends GenericDaO<Team, String> {
	
	
	void saveTeam(Team team,CommonsMultipartFile teamPhotoUp,CommonsMultipartFile teamPhotoDown,String[] matchTypes)throws IOException;
	/**
	 * <pre>
	 * <随机取>
	 * </pre>
	 * @return
	 * @author Liu Jun, 2014-5-24 下午5:09:52
	 */
	public List<Team> randGetList();
}
